/**
 * 2017年6月25日
 */
package cn.edu.bjtu.model.core;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.textplantform.common.core.LoggerSupport;

/**
 * @author Alex
 *
 */
public abstract class SpringContextSupport extends LoggerSupport implements BeanFactoryAware{
	//Spring IOC容器引用.所有RPC类都在bf中
	protected volatile BeanFactory bf ;
	public void setBeanFactory(BeanFactory beanFactory) throws BeansException{
		this.bf = beanFactory;
	}
}
